import request from '@/utils/request'

export default {
    getAll(key) {
        return request({
          url: '/api/player/playerinformation/list',
          method: 'get',
          params: ({
            'page':1,
            'limit': 100,
            'key': key
          })
        })
      },
      getplayerinfo(id){
        return request({
            url:`/api/player/playerinformation/info/${id}`,
            method:'post'
        })
    },
    getplayerbasic(id){
        return request({
            url:`/api/player/playerbasicdate/infoByPlayerId/${id}`,
            method:'post'
        })
    },
    getplayeradvanced(id){
        return request({
            url:`/api/player/playeradvanced/infoByPlayerId/${id}`,
            method:'post'
        })
    },
}